// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router'
import Message from './iview/components/message';
Vue.use(VueRouter)
Vue.prototype.$Message = Message;
const routes = [{
  path : '/input',
  component: resolve => require(['./test/input.vue'], resolve)
},{
  path:'*',
  component: resolve => require(['./test/input.vue'], resolve)
}];

const router = new VueRouter({
  routes
});


var app = new Vue({
  el: '#app',
  router,
  ...App,
});
